<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:p="http://primefaces.org/ui">

<h:head>
<h1>Benvenuto su traveldream!
</h1>

<link type="text/css" href="../generalstyle.css" rel="stylesheet"/>

</h:head>



<h:body> Benvenuto Impiegato!
        <img src="http://www.kiwicollection.com/blog/wp-content/uploads/2010/11/have-a-dream-460x313.jpg" />
         <h:form>
        <p:menubar>  
                <p:menuitem value="Home" url="../home.xhtml" />  
				<p:menuitem value="Area Cliente" url="../cliente/homeCliente.xhtml" />
				<p:menuitem value="Area Impiegato" url="../impiegato/homeImpiegato.xhtml" /> 
				<p:menuitem value="Login" url="../login.xhtml" rendered="#{request.remoteUser == null}" />
                <p:menuitem value="Logout" actionListener="#{logoutManagedBean.logout()}" rendered="#{request.remoteUser != null}" />
		</p:menubar>
		</h:form>
        <p></p>
        <p:button outcome="./visualizzaElementi.xhtml" value="VisualizzaElementi" />
        <p:button outcome="./creaVolo.xhtml" value="CreaVolo" />
        <p:button outcome="./creaHotel.xhtml" value="CreaHotel" />
        <p:button outcome="./creaEscursione.xhtml" value="CreaEscursione" />
        <p></p>
        <p:button outcome="./visualizzaPacchetti.xhtml" value="VisualizzaPacchetti" />
        <p:button outcome="./creaPacchetto.xhtml" value="CreaPacchetto" />
    </h:body>
</html>
